package com.sp.base.storage;


import com.sp.base.model.Book;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @desc:
 * @author: panxiyi
 * @date: 2023/4/9 5:40 下午
 */

@Mapper
public interface BookDao {

    @Select("select * from tb_books where id=#{id}")
    public Book getBookById(Long id);
}
